﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="CountryList.aspx.cs" Inherits="TicketMovie.Admin.WebForm5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="message message-error" runat="server" id="message_error" visible="false">
		<h6>Error</h6>
		<p>Can't delete this country</p>
		<a href="#" title="Close this message" class="close icon icon_close"></a>
	</div>
    <div class="message message-success" runat="server" id="message_thanhcong" visible='false'>
					<h6>Succesful</h6>
					<p>         Deleted</p>
					<a href="#" title="Close this message" class="close icon icon_close tooltip"></a>
				</div>
<table cellspacing="0" class="listTable" id="postList" style="margin-bottom:0px;">
					<!-- Thead -->
					<thead>
						<tr>
                            <th class="first"><div></div></th>                            
							<th><a href="#" title="Post">Code Country</a></th>
							<th><a href="#" title="Author">Name</a></th>
							<th class="last"><a href="#" title="Date">Option</a></th>
						</tr>
					</thead>
					<!-- /Thead -->
					<!-- Tfoot -->
					
					<!-- /Tfoot -->
					<!-- Tbody -->
					<tbody>
                    <asp:Repeater ID="RepeaterCountryList" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td></td>
							<td><%# Eval("code_country")%></td>
							<td><%# Eval("name_country")%></td>
							<td class="last">
                                <a href="EditCountry.aspx?id=<%# Eval("code_country")%>" title="Edit country">Edit</a>  |  
                            <asp:HiddenField ID="HiddenFieldDelCatalogue" Value='<%# Eval("code_country") %>' runat="server" />
                            <asp:LinkButton ID="LinkButtonXoa" OnClick="LinkButtonXoa_Click" runat="server" OnClientClick="return confirm('Do you want delete?')">Delete</asp:LinkButton>                   
                            </td>
						</tr>
                    </ItemTemplate>
                    </asp:Repeater>							
					</tbody>
					<!-- /Tbody -->
				</table>
</asp:Content>
